<?php
session_destroy();
if (isset($_COOKIE['loggedin'])) setcookie("loggedin", "", (mktime()-86400), HTTP_COOKIE_PATH, HTTP_COOKIE_DOMAIN);
header("Location: ".HTTP_SERVER);
?>
